package com.code.day07.LambdaStudy;

import java.util.function.Function;

public class DemoFunction {
    public static void main(String[] args) {
        method(intger -> intger +
                " ", 21321312);
    }

    public static void method(Function<Integer, String> function, Integer s) {
        String integer = function.apply(s);
        System.out.println(integer);
    }
}
